/**
 *  Copyright 2011 Marco Berri - marcoberri@gmail.com
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and limitations under the License.
 **/
package com.mbfasttrack.service;

import com.mbfasttrack.repositories.ActionRepository;
import com.mbfasttrack.repositories.CommentRepository;
import com.mbfasttrack.repositories.GeonamesRepository;
import com.mbfasttrack.repositories.GroupRepository;
import com.mbfasttrack.repositories.HardwareRepository;
import com.mbfasttrack.repositories.LikeRepository;
import com.mbfasttrack.repositories.MediaRepository;
import com.mbfasttrack.repositories.TagRepository;
import com.mbfasttrack.repositories.TrackPointRepository;
import com.mbfasttrack.repositories.TrackRepository;
import com.mbfasttrack.repositories.UserRepository;
import javax.annotation.Resource;
import javax.servlet.ServletContext;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.mongodb.core.MongoTemplate;

/**
 * @author Marco Berri marcoberri@gmail.com http://tecnicume.blogspot.com
 */
public class Base {

    /**
     * 
     */
    public static final Logger log = Logger.getLogger(Base.class);
    /**
     * 
     */
    @Resource(name = "mongoTemplate")
    public MongoTemplate mongoTemplate;
    /**
     * 
     */
    @Autowired
    ServletContext context;
    /**
     * 
     */
    @Autowired
    public MediaRepository mediaRepository;
    /**
     * 
     */
    @Autowired
    public TagRepository tagRepository;
    /**
     * 
     */
    @Autowired
    public HardwareRepository hardwareRepository;
    /**
     * 
     */
    @Autowired
    public UserRepository userRepository;
    /**
     * 
     */
    @Autowired
    public TrackRepository trackRepository;
    /**
     * 
     */
    @Autowired
    public GroupRepository groupRepository;
    /**
     * 
     */
    @Autowired
    public LikeRepository likeRepository;
    /**
     * 
     */
    @Autowired
    public ActionRepository actionRepository;
    /**
     * 
     */
    @Autowired
    public GeonamesRepository geonamesRepository;
    /**
     * 
     */
    @Autowired
    public CommentRepository commentRepository;
    /**
     * 
     */
    @Autowired
    public HardwareRepository hardawareRepository;
    /**
     * 
     */
    @Autowired
    public TrackPointRepository trackPointRepository;
    /**
     * 
     */
    @Resource(name = "TrackPointService")
    public TrackPointService trackPointService;
    /**
     * 
     */
    @Resource(name = "TagService")
    public TagService tagService;
    /**
     * 
     */
    @Resource(name = "TrackService")
    public TrackService trackService;
    /**
     * 
     */
    @Resource(name = "UserService")
    public UserService userService;
    /**
     * 
     */
    @Resource(name = "MediaService")
    public MediaService mediaService;
    /**
     * 
     */
    @Resource(name = "HardwareService")
    public HardwareService hardwareService;
    /**
     * 
     */
    @Resource(name = "LikeService")
    public LikeService likeService;
}
